SHROOMBIOSIS - RUNNING THE CODE
===============================

This folder is the complete Shroombiosis project: the final Arduino sketch
(Code/Shroombiosis.ino), the five test sketches written along the way, the
wiring diagram and components list (Hardware/), build photos, and the
write-up (README.md).

It's shared mainly so you can read how it works. The code runs on one
specific piece of hardware, so it won't run on a computer, and it won't work
on other boards without changes.

What you'd need
---------------
- Seeed Studio XIAO ESP32-S3 Sense (with its camera board, a microSD card
  and the Wi-Fi antenna)
- An analog UV sensor module, signal wire on pin A0
- A DHT11 temperature and humidity sensor, data wire on pin D1
- 3.3V and GND for both sensors (a breadboard works)
- A 2.4GHz Wi-Fi network, and a UV torch if you want to test indoors

Setting it up
-------------
1. Install the Arduino IDE and add the ESP32 boards package by Espressif.
2. Choose the board "XIAO_ESP32S3" and turn PSRAM on (Tools > PSRAM >
   OPI PSRAM). The camera needs it.
3. Install the "DHT sensor library" by Adafruit (Library Manager).
4. Open Code/Shroombiosis.ino and replace YOUR_WIFI_NAME and
   YOUR_WIFI_PASSWORD with your own network's details.
5. Upload, then open the Serial Monitor at 115200 baud. It prints the
   address to open in a browser on the same network.

Photos are saved to the microSD card as Shroombiosis1.jpg,
Shroombiosis2.jpg and so on, with every reading added to log.csv.
